<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>货主</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css">
	</head>
	<style>
		.mui-control-content {
				background-color: white;
				min-height: 520px;
			}
		.mui-control-content .mui-loading {
				margin-top: 50px;
			}
			.mui-btn{
				float:right;
				margin:10px 20px 20px 200px;
			}
	</style>

	<body>
		<header class="mui-bar mui-bar-nav">
			<h1 id="title" class="mui-title">任务列表</h1>
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		</header>
		<div class="mui-content">
			<div class="mui-slider" id="slider">
				<div class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted" id="sliderSegmentedControl">
					<a class="mui-control-item" href="#item1mobile">
				待审核
			</a>
					<a class="mui-control-item" href="#item2mobile">
				已审核
			</a>
					<a class="mui-control-item" href="#item3mobile">
				待完成
			</a>
			        <a class="mui-control-item" href="#item4mobile">
				已完成
			</a>
				</div>
				<div class="mui-slider-progress-bar mui-col-xs-4" id="sliderProgressBar"></div>
				<div class="mui-slider-group">
					<div class="mui-slider-item mui-control-content mui-active" id="item1mobile">
						<div class="mui-scroll-wrapper" id="scroll1">
								<!--下拉刷新容器-->
		              <!-- <div id="pullrefresh" class="mui-content mui-scroll-wrapper">
		                	<div class="mui-scroll">-->
							
						</div>
				                <!--数据列表-->
								<ul class="mui-table-view mui-table-view-chevron">
									<li class="mui-table-view-cell"> 
										<a href="task details.html" class="mui-navigate-right">任务1</a>	
									</li>
									<li class="mui-table-view-cell">
										<a href="task details.html" class="mui-navigate-right">任务2</a>
									</li>
									<li class="mui-table-view-cell ">
										<a href="task details.html" class="mui-navigate-right">任务3</a>
									</li>
									<li class="mui-table-view-cell ">
										<a href="task details.html" class="mui-navigate-right">任务4</a>
									
									</li>
									<li class="mui-table-view-cell ">
										<a href="task details.html" class="mui-navigate-right">任务5</a>
								
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务6</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a href="task details.html" class="mui-navigate-right">任务7</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务8</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务9</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务10</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务11</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a href="task details.html"  class="mui-navigate-right">任务12</a>
										
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务13</a>
									
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html" class="mui-navigate-right">任务14</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务15</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a   href="task details.html"  class="mui-navigate-right">任务16</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务17</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务18</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务19</a>
										 
									</li>
									<li class="mui-table-view-cell ">
										<a  href="task details.html"  class="mui-navigate-right">任务20</a>
									
									</li>
								</ul>
							</div>
						<div class="mui-scrollbar mui-scrollbar-vertical"><div class="mui-scrollbar-indicator" style="height: 52px; display: block;"></div></div></div>
					</div>
					<div class="mui-slider-item mui-control-content" id="item2mobile">
						<div class="mui-scroll-wrapper" id="scroll2">
							<div class="mui-scroll">
								<div class="mui-loading">
									<div class="mui-spinner">
									</div>
								</div>
							</div>
						</div>

					</div>
					<div class="mui-slider-item mui-control-content" id="item3mobile">
						<div class="mui-scroll-wrapper" id="scroll3">
							<div class="mui-scroll">
								<div class="mui-loading">
									<div class="mui-spinner">
									</div>
								</div>
							</div>
						</div>

					</div>
					<div class="mui-slider-item mui-control-content" id="item4mobile">
						<div class="mui-scroll-wrapper" id="scroll3">
							<div class="mui-scroll">
								<div class="mui-loading">
									<div class="mui-spinner">
									</div>
								</div>
							</div>
						</div>

					</div>
				</div>
			</div>
			<button class="mui-btn mui-btn-success mui-icon mui-icon-plus mui-right" type="button">任务发布</button>
		 
	<script src="http//apps.bding.com/libs/jquery/2.1.4/jquery.min.js"></script>
	<script src="../js/mui.min.js"></script>
	<script type="text/javascript"></script>
	<!--<script>
		mui.init({
				swipeBack: false,
				pullRefresh: {
					container: '#pullrefresh',
					down: {
						callback: pulldownRefresh
					},
					up: {
						contentrefresh: '正在加载...',
						callback: pullupRefresh
					}
				}
			});
			/**
			 * 下拉刷新具体业务实现
			 */
			function pulldownRefresh() {
				setTimeout(function() {
					var table = document.body.querySelector('.mui-table-view');
					var cells = document.body.querySelectorAll('.mui-table-view-cell');
					for (var i = cells.length, len = i + 3; i < len; i++) {
						var li = document.createElement('li');
						li.className = 'mui-table-view-cell';
						li.innerHTML = '<a href="javascript:;">'+'<img class="mui-media-object mui-pull-left" src="../images/muwu.jpg">'
						               +'<div class="mui-media-body">'+'<h2>company'+'</h2>'
						               +'<p class="mui-ellipsis">year-month-day'+'</p>'
						               +'<p class="mui-ellipsis">任务单号：'+'</p>'
								       +'<h2 align="right">任务总量'+'</h2>'
								       +'<hr>'
								       +'<button  type="button" class="mui-btn" style="float: right;">确认'
								       +'</button>'
							           +'</div>'
						               +'</a>';
						//下拉刷新，新纪录插到最前面；
						table.insertBefore(li, table.firstChild);
					}
					mui('#pullrefresh').pullRefresh().endPulldownToRefresh(); //refresh completed
				}, 1000);
			}
			var count = 0;
			/**
			 * 上拉加载具体业务实现
			 */
			function pullupRefresh() {
				setTimeout(function() {
					mui('#pullrefresh').pullRefresh().endPullupToRefresh((++count > 2)); //参数为true代表没有更多数据了。
					var table = document.body.querySelector('.mui-table-view');
					var cells = document.body.querySelectorAll('.mui-table-view-cell');
					for (var i = cells.length, len = i + 20; i < len; i++) {
						var li = document.createElement('li');
						li.className = 'mui-table-view-cell';
							li.innerHTML = '<a href="javascript:;">'+'<img class="mui-media-object mui-pull-left" src="../images/muwu.jpg">'
						               +'<div class="mui-media-body">'+'<h2>company'+'</h2>'
						               +'<p class="mui-ellipsis">year-month-day'+'</p>'
						               +'<p class="mui-ellipsis">任务单号：'+'</p>'
								       +'<h2 align="right">任务总量'+'</h2>'
								       +'<hr>'
								       +'<button  type="button" class="mui-btn" style="float: right;">确认'
								       +'</button>'
							           +'</div>'
						               +'</a>';
						table.appendChild(li);
					}
				}, 1000);
			}
		</script>-->
	</body>
</html>